package com.touchstone.synchdata.entity.mssql;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Description : 账户实体类
 * @Author : hunter
 * @Date: 2020-06-22 20:16
 * @Version: 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "Account")
public class Account implements Serializable {

    private static final long serialVersionUID = 6086894164944379211L;

    @Id
    private Long id;

    /**
     * 用户名
     */
    private String name;

    /**
     * 是否有效
     */
    @Column(name = "is_disabled")
    private Boolean disabled;
}
